package com.design.ProxyMode.staticMode;

public class UserServiceProxy extends UserService{

    @Override
    public Boolean login(String username, String password) {
        long startTime = System.currentTimeMillis();
        Boolean login = super.login(username, password);
        long endTime = System.currentTimeMillis();
        System.out.println("login time : " + (endTime - startTime) +" ms" );
        return login;
    }
}
